package com.mall.shop.entity.ware;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 库存工作单(WareOrderTaskDetail)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 13:48:07
 */
@Getter
@Setter
@TableName("wms_ware_order_task_detail")
@Schema(name = "库存工作单实体", description = "库存工作单映射")
public class WareOrderTaskDetail implements Serializable {
    private static final long serialVersionUID = -11103994809068444L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "sku_id")
    @Schema(description = "sku_id")
    private Long skuId;
    
    @TableField(value = "sku_name")
    @Schema(description = "sku_name")
    private String skuName;
    
    @TableField(value = "sku_num")
    @Schema(description = "购买个数")
    private Integer skuNum;
    
    @TableField(value = "task_id")
    @Schema(description = "工作单id")
    private Long taskId;
    
    @TableField(value = "ware_id")
    @Schema(description = "仓库id")
    private Long wareId;
    
    @TableField(value = "lock_status")
    @Schema(description = "1-已锁定  2-已解锁  3-扣减")
    private Integer lockStatus;
    
}

